package fast.calc;

public class WeaponStats {
	private double speed;
	private double dps;
	private WeaponType type;
	
	public WeaponStats(double dps,double speed,WeaponType type){
		this.setSpeed(speed);
		this.setDps(dps);
		this.setType(type);
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}

	public double getSpeed() {
		return speed;
	}

	public void setDps(double dps) {
		this.dps = dps;
	}

	public double getDps() {
		return dps;
	}

	public void setType(WeaponType type) {
		this.type = type;
	}

	public WeaponType getType() {
		return type;
	}
	
	public double getNormalizedSpeed(){
		if(type == WeaponType.dagger)
			return 1.7;
		else
			return 2.4;
	}
}
